package com.gitee.huanminabc.test.bo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 每周起始结束日期实体
 */
@Data
public class WeekLyDate implements Serializable {

    private static final long serialVersionUID = -6396483449486002241L;
    /**
     * 开始日期
     */
    private LocalDate startTime;

    /**
     * 结束日期
     */
    private LocalDate endTime;

    public WeekLyDate() {

    }


    public WeekLyDate(LocalDate startDay, LocalDate endDay) {
        this.startTime = startDay;
        this.endTime = endDay;
    }

    @Override
    public String toString() {
        return startTime + "-" + endTime;
    }
}
